<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8" />
		<base href="../../" />
		<script src="list.js"></script>
		<script src="page.js"></script>
		<link type="text/css" rel="stylesheet" href="page.css" />
	</head>
	<body>
		[page:Material] &rarr; [page:ShaderMaterial] &rarr;

		<h1>[name]</h1>

		<div class="desc">
		This material can recieve shadows, but otherwise is completely transparent.
		</div>

		<h3>Example</h3>
		[example:webgl_geometry_spline_editor gemoetry / spline / editor]

		<code>
var planeGeometry = new THREE.PlaneGeometry( 2000, 2000 );
planeGeometry.rotateX( - Math.PI / 2 );

var planeMaterial = new THREE.ShadowMaterial();
planeMaterial.opacity = 0.2;

var plane = new THREE.Mesh( planeGeometry, planeMaterial );
plane.position.y = -200;
plane.receiveShadow = true;
scene.add( plane );
		</code>

		<h2>Constructor</h2>

		<h3>[name]( )</h3>


		<h2>Properties</h2>
		<div>See the base [page:Material] and [page:ShaderMaterial] classes for common properties.</div>

		<h3>[property:Boolean isShadowMaterial]</h3>
		<div>
			Used to check whether this or derived classes are shadow materials. Default is *true*.<br /><br />

			You should not change this, as it used internally for optimisation.
		</div>

		<h3>[property:Boolean lights]</h3>
		<div>Whether the material is affected by lights. Default is *true*.</div>

		<h3>[property:Boolean transparent]</h3>
		<div>Defines whether this material is transparent. Default is *true*.</div>

		<h2>Methods</h2>
		<div>See the base [page:Material] and [page:ShaderMaterial] classes for common methods.</div>

		<h2>Source</h2>

		[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
	</body>
</html>
